﻿using Models.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using yymbDAL;

namespace yymbBLL
{
    public class OtherManger
    {
        private Other_users db = new Other_users();
        /// <summary>
        /// 其他用户个人简介
        /// </summary>
        /// <returns></returns>
        public Information Oth_use_Info(int id)
        {
            return db.Oth_use_Info(id);
        }
        /// <summary>
        /// 其他用户微博
        /// </summary>
        /// <returns></returns>
        public List<Microblog> Oth_use_mibl(int id)
        {
            return db.Oth_use_mibl(id);
        }
        /// <summary>
        /// 其他用户关注数
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int Oth_use_atte(int id)
        {
            return db.Oth_use_atte(id);
        }
        /// <summary>
        /// 其他用户粉丝数
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int Oth_use_fans(int id)
        {
            return db.Oth_use_fans(id);
        }
        /// <summary>
        /// 查询其他用户关注的人
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public List<User_rs> GetUserFollow(int id)
        {
            return db.GetUserFollow(id);
        }
        /// <summary>
        /// 其他用户微博数
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int Oth_use_mibls(int id)
        {
            return Oth_use_mibls(id);
        }
        /// 其他用户的总微博数
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int SumWB(int id)
        {
            return db.SumWB(id);
        }
    }
}
